import scala.io.StdIn

/**
  *
  * @author Pop
  * @date 2022/4/23 15:10
  */
object Scala_Stdin {

  def main(args: Array[String]): Unit = {
    println("请输入名字")
    val str:String = StdIn.readLine()
    println("请输入年龄")
    val age:Int = StdIn.readInt()
    print(s"名字是${str}，年龄是${age}")

  }

}
